package cn.thirdquestion;

public    class Instrument<T> {

    public T str;

    public Instrument(){

    }

    public Instrument(T str) {

        this.str = str;

    }

    public T getStr() {
        return str;
    }

    public void setStr(T str) {
        this.str = str;
    }

    public  T play(T str){
        return str;
    };
}
